package com.rdxer.service;

import com.rdxer.core.utils.IdWorker;
import com.rdxer.model.Department;
import com.rdxer.model.Major;
import com.rdxer.repository.DepartmentRepository;
import com.rdxer.repository.MajorRepository;
import lombok.Data;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Department 服务层
 */
@Service
@Data
@Getter
public class MajorService implements CRUDPageServiceInterface<Major, String>  {


    @Autowired
    private MajorRepository repository;

    @Autowired
    private IdWorker idWorker;
}
